package ru.averta.notes.dao;

import ru.averta.notes.domain.Site;
import ru.averta.notes.domain.Tag;
import ru.averta.notes.domain.TagConnector;
import ru.averta.notes.domain.User;

import java.util.Collection;

public interface TagConnectorDao extends GenericDao<TagConnector, Long> {

	Collection<TagConnector> findByObject(Site object);

	TagConnector findByObjectAndTag(Site object, Tag tag);

    Collection<TagConnector> findByUser(User user);
	
}
